{
  "properties" : { },
  "id" : "44e5bb57eeda41a0b2e6d63fe09adbfa",
  "script" : null,
  "groupId" : "529eeecd4835424bb618862abdac111a",
  "name" : "左侧树节点点击触发",
  "createTime" : 1727070988219,
  "updateTime" : 1725862865429,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "listByParentOid",
  "method" : "GET",
  "parameters" : [ {
    "name" : "oid",
    "value" : "1.2.156.11235.15629",
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"id\": \"1655814237281349665\",\n            \"internal\": \"20\",\n            \"alias\": \"\",\n            \"name\": \"gb15629-11\",\n            \"oid\": \"1.2.156.11235.15629.11\",\n            \"parentOid\": \"1.2.156.11235.15629\",\n            \"baseType\": \"\",\n            \"status\": \"\",\n            \"access\": \"\",\n            \"kind\": \"node\",\n            \"module\": \"GB15629dot11-WAPI-MIB\",\n            \"description\": \"\",\n            \"classification\": \"\",\n            \"cron\": \"\"\n        }\n    ]\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : null,
    "defaultValue" : null,
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "status",
      "value" : "200",
      "description" : "",
      "required" : false,
      "dataType" : "Integer",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "message",
      "value" : "success",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "data",
      "value" : "",
      "description" : "",
      "required" : false,
      "dataType" : "Array",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ {
        "name" : "",
        "value" : "",
        "description" : "",
        "required" : false,
        "dataType" : "Object",
        "type" : null,
        "defaultValue" : null,
        "validateType" : "",
        "error" : "",
        "expression" : "",
        "children" : [ {
          "name" : "oid",
          "value" : "1",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : null,
          "defaultValue" : null,
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        }, {
          "name" : "name",
          "value" : "iso",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : null,
          "defaultValue" : null,
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        }, {
          "name" : "kind",
          "value" : "node",
          "description" : "",
          "required" : false,
          "dataType" : "String",
          "type" : null,
          "defaultValue" : null,
          "validateType" : "",
          "error" : "",
          "expression" : "",
          "children" : [ ]
        } ]
      } ]
    } ]
  }
}
================================
 import com.kd.ndmp.biz.device.utils.StringUtils;
 if (StringUtils.isEmpty(oid)) {
            var root = {
            "oid":("1"),
            "name":("iso"),
            "kind":("node")
            }

            return Collections.singletonList(root);
        }
        return db.table("ndmp_mib").where().eq(StringUtils.isNotEmpty(oid),"parent_oid",oid).orderBy("oid","asc").select();

